#ifndef _COMPARE_EMPLOYEES_BY_ID_H_
#define _COMPARE_EMPLOYEES_BY_ID_H_

#include "Icompare.h"
#include "Employee.h"

namespace DataStructuresWet1
{
class CompareEmployeesByID : public ICompare<Employee>
{
public:
	virtual bool IsEqual(const Employee &first, const Employee &second) const
	{
		return (first.GetID() == second.GetID());
	}
	virtual bool IsNeq(const Employee &first, const Employee &second) const
	{
		return (first.GetID() != second.GetID());
	}
	virtual bool IsLeq(const Employee &first, const Employee &second) const
	{
		return (first.GetID() <= second.GetID());
	}
	virtual bool IsGeq(const Employee &first, const Employee &second) const
	{
		return (first.GetID() >= second.GetID());
	}
	virtual bool IsLess(const Employee &first, const Employee &second) const
	{
		return (first.GetID() < second.GetID());
	}
	virtual bool IsMore(const Employee &first, const Employee &second) const
	{
		return (first.GetID() > second.GetID());
	}
};
}
#endif //_COMPARE_EMPLOYEES_BY_ID_H_